package net.xm;

public class Factory {
	public static final int BASECAMP = 0;
	public static final int BACKPACK = 1;
	
	public static TodoListManager getManager(int type, Configuration conf) throws ApplicationException {
		TodoListManager manager = null;
		if(type==BASECAMP){
			manager=new BasecampTodoListManager(conf);
		}
		if(type==BACKPACK){
			manager=new BackpackTodoListManager(conf);
		}
		return manager;
	}
	
	
	
}
